package com.lovar.gaming.service.impl;

import lombok.extern.slf4j.Slf4j;
import lombok.RequiredArgsConstructor;
import com.lovar.gaming.dao.repository.BaseInventoryRepository;
import com.lovar.gaming.dao.domain.BaseInventory;
import com.lovar.gaming.service.BaseInventoryService;
import org.springframework.stereotype.Service;

/**
 * @author 穹龙
 * @description 针对表【base_inventory(物品库存表)】的数据库操作Service实现
 * @createDate 2024-08-06 17:09:55
*/
@Service
@Slf4j
@RequiredArgsConstructor
public class BaseInventoryServiceImpl implements BaseInventoryService {

    private final BaseInventoryRepository baseInventoryRepository;
    /**
     * 根据主键获取物品库存表详情
     *
     * @param id 主键Id
     * @return BaseInventory
    */
    @Override
    public BaseInventory queryById(String id) {
        return baseInventoryRepository.queryById(id);
    }

}




